{% extends "base.html" %}

{% block titulo %}Publicar una noticia{% endblock %}

{% block breadcrumbs %}<div id="middleBreadcrumb">
                            <a href="/home/">home</a> >
                       </div>
                        <div id="middleBreadcrumb">
                            <a href="/course/{{course.code}}/{{group.code}}/">{{course.name}}</a> >
                        </div>
                        <div id="lastBreadcrumb">
                            Crear una noticia
                        </div>
                        {% endblock %}

{% block cuerpo %}
<h3>Publicar una noticia en el grupo:</h3>
  
     <form action="." method="post">
         <div class="formDiv">
        {%for field in form%}
            {%ifnotequal field.html_name "groups"%}
                {%include "forms/formItem.html"%}
            {%else%}
                {%if moreGroups%}
                    {%include "forms/formItem.html"%}
                {%endif%}
            {%endifnotequal%}
        {%endfor%}
            {%include "forms/formSubmit.html"%}
        </div>
     </form>
{% endblock %}